const state = {
    alarmNum: 0,
    alertInfoArr: [],
    auto_alert_show: false
  };
  
  const getters = {};
  
  const mutations = {
    setNum: (state, alarmNum) => {
      state.alarmNum = alarmNum;
    },
    set_alertInfoArr: (state, arr) => {
      state.alertInfoArr = arr;
      },
      set_auto_alert_show: (state, auto_alert_show) => {
        state.auto_alert_show = auto_alert_show
    }
  };
  
  const actions = {};
  
  export default {
    namespaced: true,
    state,
    getters,
    mutations,
    actions
  };
  